package com.tx.order.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.tx.order.pojo.Order;
import com.tx.order.pojo.OrderInfo;

@Repository
public interface OrderDao {

	/** 查询所有的订单信息 */
	public List<Order> selectAllOrder();
	
	/** 添加订单 */
	public int addOrder(Order order);
	
	/** 追加订单详情 */
	public int addOrderInfo(OrderInfo orderInfo);
	
}
